package cn.net.cfss.fgbp.face.manage.model.tenant;

import cn.net.cfss.fgbp.spi.manage.constant.TenantStateEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wutao
 * @version 1.0
 * @date 2020/9/4 15:21
 */
@Data
public class AddModel implements Serializable {

    /**
     * 租户名称
     */
    @ApiModelProperty(name = "租户名称",value = "租户名称",hidden=false,required=true)
    private String tenantName;


    /**
     * 备注
     */
    @ApiModelProperty(name = "备注",value = "备注",hidden=false,required=false)
    private String remark = "";

    /**
     * 状态(1启用，2停用)
     */
    @ApiModelProperty(name = "状态",value = "状态",hidden=false,required=false)
    private TenantStateEnum state;


    /**
     * 告警邮箱，用逗号分隔开
     */
    @ApiModelProperty(name = "告警邮箱",value = "告警邮箱",hidden=false,required=false)
    private String email = "";

    /**
     * 工作时间，格式：HH:mm-HH:mm，如09:00-12:00，14:00-18:00，多个以逗号隔开
     */
    @ApiModelProperty(name = "工作时间",value = "工作时间",hidden=false,required=false)
    private String workTime = "";
}
